<template>
  <div id="app">
    <keep-alive>
      <router-view/>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: "App"
};
document.body.addEventListener(
  "touchmove",
  function(e) {
    e.preventDefault(); // 阻止默认的处理方式(阻止下拉滑动的效果)
  },
  { passive: false }
); // passive 参数不能省略，用来兼容ios和android
</script>

<style>
#app {
  width: 100%;
}
</style>
